package practice.annotaion.spring.entrance;

import org.springframework.beans.factory.annotation.Required;

public class Camera {

	private int number;

	public Camera() {

	}

	// 필수 프로퍼티 선언
	@Required
	public void setNumber(int number) {
		this.number = number;
	}

	@Override
	public String toString() {
		return "Camera  [number=" + number + "]";
	}

}
